import axios from 'axios'
import request from './axios.request'
import response from './axios.response'
const http = axios.create({
    baseURL: import.meta.env.VITE_HTTP,
    timeout:10000,
})
//拦截器
request(http)
response(http)

export default http